import req from '../api/requestType'
import utils from '../utils/index'
/**
 * get请求
 * @param {*} param
 */
export const getData = param => {
  let userinfo=utils.getInfo();
  param.tokenId=userinfo.userId;
  param.username=userinfo.companyName;
  param.tyxydm=userinfo.uniscid;
  return req.get('/provincial/httpServer', param);
}

/**
 * post请求
 * @param {*} param
 */
export const postData = param => {
    param.access_token="29b7a21c-fe08-45c8-83fc-a0edfee34d1c";
    return req.post('transmit', param);
}
